/*
 * @Author: TT-hzy 
 * @Date: 2023-11-02 11:50:31
 * @LastEditors: TT-hzy 
 * @LastEditTime: 2024-01-19 08:54:34
 * @Description: 
 */
import 'dart:io';
import 'dart:typed_data';

import 'package:flutter/material.dart';

class NormalImageModelStrId {
  /// 图片地址标识
  static String imageUrl = 'imageUrl';

  /// 图片数据ID
  static String imageId = 'imageId';

  /// 图片尺寸类型
  static String sizeType = 'sizeType';

  /// 图片类型 0 url 1 file
  static String type = "type";

  /// 图片宽
  static String width = "width";

  /// 图片高
  static String height = "height";
}

class ImageNormalModel {
  ImageNormalModel({
    this.size,
    this.byte,
    this.imageId,
    this.url,
    this.file,
    this.assetPath,
    this.heroStr,
    this.subScriptStr,
  });

  int? imageId;

  /// 图片尺寸
  Size? size;

  /// 图片file
  File? file;

  /// 图片字节
  Uint8List? byte;

  /// 图片资源地址
  String? assetPath;

  /// 图片网络url
  String? url;

  /// hero tag
  String? heroStr;

  /// 图片标识位
  String? subScriptStr;
}
